<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionEmpleado.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditTblepsTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">

            <h:form>
                <p:panel id="panel" styleClass="panelCabeza" header="#{bundle.EditTblepsTitle}">
                    <p:messages id="msgs"/>
                    <h:panelGrid columns="2">
                        <h:outputLabel value="#{bundle.EditTblepsLabel_codEps}" for="codEps" />
                        <p:inputText id="codEps" value="#{tblepsController.selected.codEps}" title="#{bundle.EditTblepsTitle_codEps}" required="true" requiredMessage="#{bundle.EditTblepsRequiredMessage_codEps}"/>
                        <h:outputLabel value="#{bundle.EditTblepsLabel_nomEps}" for="nomEps" />
                        <p:inputText id="nomEps" value="#{tblepsController.selected.nomEps}" title="#{bundle.EditTblepsTitle_nomEps}" required="true" requiredMessage="#{bundle.EditTblepsRequiredMessage_nomEps}"/>
                        <h:outputLabel value="#{bundle.EditTblepsLabel_nitEps}" for="nitEps" />
                        <p:inputText id="nitEps" value="#{tblepsController.selected.nitEps}" title="#{bundle.EditTblepsTitle_nitEps}" required="true" requiredMessage="#{bundle.EditTblepsRequiredMessage_nitEps}"/>
                       

                    </h:panelGrid>
                    <p:commandButton action="#{tblepsController.update}" update="panel" value="#{bundle.EditTblepsSaveLink}"/>
                   
                    <p:commandButton action="#{tblepsController.prepareList}" value="#{bundle.EditTblepsShowAllLink}" immediate="true"/>
                    </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
